<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>我的地址</title>
<meta name="keywords"  content="KEYWORDS..." />
<meta name="description" content="DESCRIPTION..." />
<meta name="author" content="DeathGhost" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name='apple-touch-fullscreen' content='yes'>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="address=no">
<link rel="icon" href="/1/images/icon/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/1/images/icon/apple-touch-icon-57x57-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/1/images/icon/apple-touch-icon-120x120-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="196x196" href="/1/images/icon/apple-touch-icon-196x196-precomposed.png">
<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="/1/css/style.css" />
<script src="/1/js/jquery.js"></script>
<script src="/vendor/layer/layer.js"></script>
    <style>
        .userForm li {padding: .3rem .2rem;line-height:.4rem;}
        .red{color: red}
    </style>
</head>
<body>
<!--header-->
<header>
 <a href="/home/user/userSet" class="iconfont backIcon">&#60;</a>
 <h1>收货地址列表</h1>
</header>
<div style="height:1rem;"></div>
<form action="" onsubmit="return false" id="data-form">
<ul class="userForm">
    @foreach($list as $item)
        <a href="/home/user/address?id={{$item['id']}}">
            <li>
                {{$item['name']}} {{$item['mobile']}} {{$provinces[$item['province_id']] or ''}}
                {{$cities[$item['city_id']] or ''}}{{$item['district']}} {{$item['detail']}}
                @if($item['is_default'])<span class="red">[默认]</span>@endif
            </li>
        </a>
    @endforeach
    <a href="/home/user/address">
        <li style="background:none;">
            <input type="button" value="添加地址" class="formLastBtn"/>
        </li>
    </a>
</ul>
</form>
<script>

</script>
</body>
</html>
